﻿#region

using System.Data.Entity.Infrastructure;
using HouseHoldBudget.Core.Data;

#endregion

namespace HouseHoldBudget.Data
{
    public interface IEfDataProvider : IDataProvider
    {
        #region Instance Methods

        /// <summary>
        ///   Get connection factory
        /// </summary>
        /// <returns> Connection factory </returns>
        IDbConnectionFactory GetConnectionFactory();

        /// <summary>
        ///   Initialize connection factory
        /// </summary>
        void InitConnectionFactory();

        #endregion
    }
}